package com.inool.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@TableName("sys_menu")
@EqualsAndHashCode(callSuper=false)
public class SysMenu extends BaseEntity {
	
	private static final long serialVersionUID = 1L;

	@TableField("parent_id")
	private String parentId;

	@TableField("name")
	private String name;

	@TableField("requires_auth")
	private Integer requiresAuth;

	@TableField("path")
	private String path;

	@TableField("component")
	private String component;


	@TableField("icon")
	private String icon;
	

	@TableField(exist = false)
	private List<SysMenu> children;
	
	@TableField(exist = false)
	private boolean isSelect;
}

